package com.zhanghp;

import lombok.extern.slf4j.Slf4j;

/**
 * @author zhanghp
 * @date 2022-08-30 10:52
 */
@Slf4j
public class App {
    public static void main(String[] args) {
        DinnerStrategy dinner = new DinnerStrategy(new Dumpling());
        dinner.eat();
        log.info("《----- 换菜 -----》");
        dinner.changeDinner(new SpringPancake());
        dinner.eat();
    }
}
